﻿using Abp.Dapper.Repositories;
using Abp.Dependency;
using Abp.Domain.Repositories;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZCMS.Application.Common.Article;
using ZCMS.Entities;
using ZCMS.IRepositories;

namespace ZCMS.AppService
{
    public class ArticleAppService : ITransientDependency, IArticleAppService
	{
		private readonly IDapperRepository<Article> _personDapperRepository;
		private readonly IRepository<Article> _personRepository;
		private readonly IArticleDapperRepository _repository;

		public ArticleAppService(
			IRepository<Article> personRepository,
			IDapperRepository<Article> personDapperRepository,
			IArticleDapperRepository repository)
		{
			_personRepository = personRepository;
			_personDapperRepository = personDapperRepository;
			_repository = repository;
		}

		public void DoSomeStuff()
		{
			var people = _personDapperRepository.Query("select * from Cms_Article");


			_repository.Page();
			var ii = 0;



		}
	}
}
